use utf8;
package iSOCK::Schema::App::Result::Project;

# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE

=head1 NAME

iSOCK::Schema::App::Result::Project

=cut

use strict;
use warnings;

use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';

=head1 COMPONENTS LOADED

=over 4

=item * L<DBIx::Class::InflateColumn::DateTime>

=back

=cut

__PACKAGE__->load_components("InflateColumn::DateTime");

=head1 TABLE: C<project>

=cut

__PACKAGE__->table("project");

=head1 ACCESSORS

=head2 id

  data_type: 'varchar'
  is_nullable: 0
  size: 32

=head2 number

  data_type: 'varchar'
  is_nullable: 1
  size: 16

=head2 stage

  data_type: 'char'
  is_nullable: 1
  size: 3

=cut

__PACKAGE__->add_columns(
  "id",
  { data_type => "varchar", is_nullable => 0, size => 32 },
  "number",
  { data_type => "varchar", is_nullable => 1, size => 16 },
  "stage",
  { data_type => "char", is_nullable => 1, size => 3 },
);

=head1 PRIMARY KEY

=over 4

=item * L</id>

=back

=cut

__PACKAGE__->set_primary_key("id");

=head1 UNIQUE CONSTRAINTS

=head2 C<id_number_unique>

=over 4

=item * L</id>

=item * L</number>

=back

=cut

__PACKAGE__->add_unique_constraint("id_number_unique", ["id", "number"]);


# Created by DBIx::Class::Schema::Loader v0.07014 @ 2011-11-22 11:00:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tex5H5IKLs8b2QMGOpe1Ww


# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
